home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
decode10.zip
/
DECODE.DOC
< prev
next >
Wrap
Text File
|
1992-12-07
|
50KB
|
1,669 lines
Decode It!(TM)
The Binary Data Fourth Generation Language(TM)
Version 1.0
Users' Manual
Created by
Bob Preston
Axiom Innovations
54 Settlers Farm Road
Monroe, Connecticut 06468
Copyright 1992 Axiom Innovations. All Rights Reserved.
Printed in the United States of America.
Decode It!(TM) and Decode It! 4GL(TM) are trademarks of Axiom
Innovations. All trademarks and registered trademarks referenced within
this document are the property of their respective owners.
LICENSE AGREEMENT
USE OF THIS PRODUCT BINDS YOU TO THE TERMS OF THIS LICENSE AGREEMENT.
PLEASE READ THE AGREEMENT CAREFULLY AND DO NOT USE THIS PRODUCT IF YOU DO
NOT AGREE TO THE TERMS OF THE AGREEMENT.
1. LICENSE. You may use this product for an evaluation period of 30
days. After the evaluation period you are required to purchase a
registered copy. Axiom Innovations grants permission for this shareware
product to be copied and distributed, if no fees are charged. Otherwise,
you must get written permission from Axiom Innovations to distribute
copies of this product. Said permission is granted only for the
distribution of unaltered and intact copies of this product.
2. COPYRIGHT. This product is licensed to you, for your own use. This
is copyrighted software. You are not obtaining title to the product or
any copyright rights. You may not sublicense, rent, lease, convey,
modify, translate, decompile, or disassemble this product, in whole or in
part, except as expressly provided for in this license.
3. COPIES. You may make as many copies of this product as you need for
back-up purposes. You may use this product on more than one computer,
provided there is no chance it will be used simultaneously on more than
one computer. If you need to use the software on more than one computer
simultaneously, please contact us for information about site licenses.
4. LIMITED WARRANTY. THIS PRODUCT IS LICENSED "AS IS" WITHOUT ANY
WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES
OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ALL OF WHICH ARE
EXPRESSLY AND SPECIFICALLY DISCLAIMED. Some states do not allow the
exclusion of implied warranties, so the above limitation may not apply to
you.
Decode It! Version 1.0 Page 1
5. LIMITATION OF LIABILITY. IN NO EVENT SHALL AXIOM INNOVATIONS OR
ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR
DELIVERY OF THIS PRODUCT BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR
INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THIS
PRODUCT EVEN IF AXIOM INNOVATIONS HAS BEEN ADVISED OF SUCH DAMAGES OR
CLAIMS. IN NO EVENT SHALL AXIOM INNOVATIONS LIABILITY FOR ANY DAMAGES
EVER EXCEED THE PRICE PAID FOR THE LICENSE TO USE THIS PRODUCT,
REGARDLESS OF THE FORM OF CLAIM. Some states do not allow the exclusion
of the limit of liability for consequential or incidental damages, so the
above limitation may not apply to you.
6. GOVERNING LAW. This agreement shall be governed by the laws of the
State of Connecticut and shall inure to the benefit of Axiom Innovations
and any successors, administrators, heirs and assigns. Any action or
proceeding brought by either party against the other arising out of or
related to this agreement shall be brought only in a STATE or FEDERAL
COURT of competent jurisdiction located in Fairfield County, Connecticut.
The parties hereby consent to in personam jurisdiction of said courts.
Decode It! Version 1.0 Page 2
TABLE OF CONTENTS
1.0 What is Decode It!? ............................. 4
2.0 The Shareware Concept ........................... 5
3.0 System Requirements ............................. 5
4.0 Installation .................................... 6
5.0 Lets Try It Out! ................................ 6
6.0 Basic Features .................................. 10
6.1 Rules ........................................... 10
6.2 RECORDs ......................................... 11
6.3 END Command ..................................... 12
6.4 Criteria ........................................ 12
6.5 Undefined Values ................................ 13
6.6 Guidelines ...................................... 14
7.0 Advanced Features ............................... 15
7.1 Blocks .......................................... 15
7.2 Control Flow Commands ........................... 15
7.3 4GL Processor Commands .......................... 16
7.3.1 (ORDER) Command ............................... 16
7.3.2 (OMIT) Command ............................... 16
7.4 System Variable (.OFFSET) ....................... 17
8.0 Examples ........................................ 17
8.1 EXEINFO.RUL Revisited ........................... 17
8.2 C Unions ........................................ 17
8.3 IF ... THEN ... ELSE ............................ 19
8.4 IF ... AND/OR ................................... 19
9.0 Parameters ...................................... 20
10.0 4GL Quick Reference ............................ 21
10.1 Rules Format ................................... 21
10.2 Records and Blocks Formats ..................... 21
10.3 Criteria Format ................................ 22
10.4 Control Flow Commands .......................... 22
11.0 Registration ................................... 23
Appendix A: Error Messages .......................... 24
A.1 Main Program Errors ............................. 24
A.2 4GL Processor Errors ............................ 24
A.3 File Interpreter Errors ......................... 26
Decode It! Version 1.0 Page 3
1.0 What is Decode It!?
Decode It! is a simple, yet powerful fourth generation language (4GL)
tailored for binary data interpretation. It excels in interpreting
binary files containing fixed or variable length records and multiple
record layouts.
By applying your data format rules to raw binary data, Decode It! exposes
the underlying structure of binary information and transforms it into
readable ASCII text. This text can be redirected to a file, or piped to
MORE and LIST. You specify the format, so data is displayed the way you
want to see it.
In addition, Decode It! opens up binary data to the world of text
manipulation tools. Once created, Decode It! files can be used with
DIFF, AWK, GREP, Norton's TS, and any other text utility.
Some of Decode It!'s features are:
Easy installation on single user and local area network systems
(not copy protected).
Easy to use Fourth